package com.timothy.answer;

import com.timothy.service.MessageSender;
import com.timothy.service.MessageSenderUtil;

public class FreeFormAnswer extends BaseAnswer{
	private String value;
	
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	@Override
	public String getAnswerContent() {
		return value;
	}

	@Override
	public String toMessage() {
		int slide = getQuestion().getSlideIndex();
		return String.format( MessageSenderUtil.Single_Select_Answer, slide, getAnswerContent() );
	}

	
}
